JavaScript Source

Frame Destroyer

In Russian
По русски



Main Page

Software

Delphi

Perl

JavaScript

Sponsors

Favourites

Guestbook

About

Rated by PING
Rambler's Top100 Service

Click here to visit our sponsor
Free Advertising from Click2Net!

This script it is useful to use on the main page of a site. It is possible, that other inexperienced webmasters make a link to your site from frames and forget to specify target= "_top" and therefore your page gets loaded in frame. So this script allows you to achieve the effect that, when your page is loaded, any existing frames disappear. The text selected red is necessary for replacing.

<script language="JavaScript">
<!--
setTimeout ("changePage()", 100);
function changePage() {
if (self.parent.frames.length != 0)
self.parent.location="http://www.your.url";
}
// -->
</script>



    Check E-mail
    Pushing button
    Visitor's clock
    Format C:
    Frame Destroyer
    Computer name
    Custom link
    Following mouse
    SendMail without CGI
    Dynamic Graphics
    Dodge of the thieves
    You can always examine the HTML code of this or any other page and extract any scripts you find interesting. ;-)

    PING Banner Network